Skip to content

Patch Distribution

Request

Patches an existing distribution with the provided data. Note: The icon needs to be patched separately.

Security
oauth2(Required scopes: distributions:edit)
Path
idstring, (uuid)required
Bodyapplication/jsonrequired
Array [
opstringrequired

The operation to perform.

Enum:"add""remove""replace"
pathstringrequired

JSON Pointer to the field to change.

Enum:"/Name""/WelcomeHeadline""/DistributionDescription""/WelcomeText""/DistributionManager""/PayoutMethods""/ExpiryDate""/DisplayEndDate""/EmailTemplates""/AutomaticReminders"
valueany

The new value. Required for add and replace; its type matches the corresponding field on the Distribution.

]
curl -i -X PATCH \
  'https://docs.talli.ai/_mock/referencev3/swagger/v3/distribution-manager/distributions/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '[
    {
      "op": "replace",
      "path": "/Name",
      "value": "new value"
    }
  ]'

Responses

Accepted

Response
No content